package com.guigu.service;

import com.guigu.dto.FollowUpDiaryDTO;
import com.guigu.vo.FollowUpDiaryVO;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface FollowUpDiaryService {
    /**
     * 分页查询随访日记
     * @return FollowUpDiaryVO
     */
    public List<FollowUpDiaryVO> FindFollowUpDiary(FollowUpDiaryDTO followUpDiaryDTO);

    /**
     * 根据姓名查询档案号
     * @return FollowUpDiaryVO
     */
    public FollowUpDiaryVO findIdByName(FollowUpDiaryDTO followUpDiaryDTO);


    /**
     *保存随访日记
     */
    public void saveFollowUp(FollowUpDiaryDTO followUpDiaryDTO);

    public void saveFileInfo(FollowUpDiaryDTO followUpDiaryDTO);

    /**
     * 根据id删除随访日记
     */
    public void delFollowById(FollowUpDiaryDTO followUpDiaryDTO);

    /**
     * 根据id修改随访日记
     * @param followUpDiaryDTO
     */
    public void updateFollowUpById(FollowUpDiaryDTO followUpDiaryDTO);


}
